<?php TPL::output('admin/global/header.tpl.htm'); ?>
<!--left-->
<?php TPL::output('admin/global/left.tpl.htm'); ?>
<!--left-->

<div id="main-content" style="margin:0 0 0 200px;">
	<div class="clear"></div>
	<div class="content-box">
		<div class="content-box-header">
			<h3>站点信息</h3>
			<ul class="content-box-tabs">
			</ul>
			<div class="clear"></div>
		</div>
		<div class="content-box-content">
			<div id="notification_box" class="notification success png_bg" style="display:none;"> <a class="close" href="javascript:;"></a>
				<div name="notification_content"></div>
			</div>
			<div class="tab-content default-tab" id="tab1">
				<form id="_save_form" action="admin/setting/sys_save_ajax/" method="post">
					<fieldset>
					<p groupid="1" name="site_name">
						<label>网站名称：</label>
						<input name="site_name" class="text-input small-input" type="text" value="<?php echo $this->setting['site_name']; ?>"/>
					</p>
					<p groupid="1" name="description">
						<label>网站简介：</label>
						<textarea name="description" cols="100" rows="3" id="description"><?php echo $this->setting['description']; ?></textarea>
					</p>
					<p groupid="1" name="keywords">
						<label>网站关键词：<span style="font-weight:normal">(多个关键词以逗号","隔开)</span></label>
						<textarea name="keywords" cols="100" rows="3" id="keywords"><?php echo $this->setting['keywords']; ?></textarea>
					</p>
					<p groupid="1" name="icp_beian">
						<label>网站ICP备案号：</label>
						<input name="icp_beian" class="text-input small-input" type="text" value="<?php echo $this->setting['icp_beian']; ?>"/>
					</p>
					<p groupid="1" name="base_url">
						<label>网站首页：<span style="font-weight:normal">(最后不带 /)</span></label>
						<input name="base_url" class="text-input small-input" type="text" value="<?php echo $this->setting['base_url']; ?>"/>
					</p>
					<p groupid="1" name="upload_url">
						<label>上传目录外部访问 URL 地址：</label>
						<input name="upload_url" class="text-input small-input" type="text" value="<?php echo $this->setting['upload_url']; ?>"/>
					</p>
					<p>
						<label>上传文件存放绝对路径：<span style="font-weight:normal">(目前网站根目录绝对路径:<?php echo ROOT_PATH; ?>)</span></label>
						<input name="upload_dir" class="text-input small-input" type="text" value="<?php echo $this->setting['upload_dir']; ?>"/>
					</p>
					<p groupid="1" name="img_url">
						<label>static 目录资源 URL 地址：<span style="font-weight:normal">(最后不带 /, 留空使用根目录下的 static 资源)</span></label>
						<input name="img_url" class="text-input small-input" type="text" value="<?php echo $this->setting['img_url']; ?>"/>
					</p>
					<p>
						<input class="button" type="button" onClick="ajax_post($('#_save_form'), _form_process);" value="  保  存  " />
					</p>
					</fieldset>
					<div class="clear"></div>
				</form>
			</div>
		</div>
		<div class="clear"></div>
		<div id="notf_tip" style="display:none;" class="notification png_bg"> <a href="javascript:;" class="close"><img src="<?php echo G_STATIC_URL;?>/admin/images/icons/cross_grey_small.png" alt="关闭" /></a>
			<div id="notf_cont"></div>
		</div>
	</div>
	<!-- footer -->
	<?php TPL::output('admin/global/footer.tpl.htm'); ?>
	<!-- footer -->
</div>
<!-- main -->
</div>
</body></html>